﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys.Common.Entity;

/// <summary>
/// 工序信息实体.
/// </summary>
[SugarTable("com_base_modeling", "工序信息")]
[Tenant(ClaimConst.TENANTID)]
public class ComBaseModelingEntity : CLDEntityBase
{
    ///// <summary>
    ///// GUID.
    ///// </summary>
    //[SugarColumn(ColumnName = "F_Id",ColumnDescription = "GUID", IsPrimaryKey = true)]
    //public string Id { get; set; }

    /// <summary>
    /// code.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnCode", ColumnDescription = "工序编码")]
    public string EnCode { get; set; }

    /// <summary>
    /// 工序名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_FullName", ColumnDescription = "工序名称")]
    public string FullName { get; set; }

    /// <summary>
    /// 说明描述.
    /// </summary>
    [SugarColumn(ColumnName = "F_Desc", ColumnDescription = "说明描述")]
    public string Desc { get; set; }

    /// <summary>
    /// 默认工位.
    /// </summary>
    [SugarColumn(ColumnName = "F_StationCode", ColumnDescription = "默认工位")]
    public string StationCode { get; set; }

    /// <summary>
    /// 车间名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkshopName", ColumnDescription = "车间名称")]
    public string WorkshopName { get; set; }

    /// <summary>
    /// 车间编码.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkshopCode", ColumnDescription = "车间编码")]
    public string WorkshopCode { get; set; }

    /// <summary>
    /// 车间id.
    /// </summary>
    [SugarColumn(ColumnName = "F_WorkshopId", ColumnDescription = "车间id")]
    public string WorkshopId { get; set; }

    /// <summary>
    /// 有效标志0无效 1有效.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnabledMark", ColumnDescription = "有效标志0无效 1有效")]
    public int? EnabledMark { get; set; }
}